package com.mit.common.inventory.dto;

import java.math.BigDecimal;
import java.util.Date;

import com.mit.common.dto.AbstractDTO;
import com.mit.common.purchase.dto.ColorStyleDTO;
import com.mit.common.purchase.dto.MaterialDTO;

public class MaterialReceivedNoteItemDTO extends AbstractDTO {

	private Integer receivedNoteId;
	//private POItemDTO poItem;
	private Integer poId;
	private String poCode;
	private MaterialDTO material; //供应商原料
	private ColorStyleDTO materialColor; //供应商颜色
	private Date requestDeliverDate;
	private BigDecimal orderQty;
	private BigDecimal receivedQty;
	private BigDecimal qty;
	private String unit;
	
	public MaterialReceivedNoteItemDTO(){
		//poItem = new POItemDTO();
		material = new MaterialDTO();
		materialColor = new ColorStyleDTO();
	}

	public Integer getPoId() {
		return poId;
	}

	public void setPoId(Integer poId) {
		this.poId = poId;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getReceivedNoteId() {
		return receivedNoteId;
	}

	public void setReceivedNoteId(Integer receivedNoteId) {
		this.receivedNoteId = receivedNoteId;
	}



	public String getPoCode() {
		return poCode;
	}

	public void setPoCode(String poCode) {
		this.poCode = poCode;
	}

	public MaterialDTO getMaterial() {
		return material;
	}

	public void setMaterial(MaterialDTO material) {
		this.material = material;
	}

	public ColorStyleDTO getMaterialColor() {
		return materialColor;
	}

	public void setMaterialColor(ColorStyleDTO materialColor) {
		this.materialColor = materialColor;
	}

	public Date getRequestDeliverDate() {
		return requestDeliverDate;
	}

	public void setRequestDeliverDate(Date requestDeliverDate) {
		this.requestDeliverDate = requestDeliverDate;
	}

	public BigDecimal getOrderQty() {
		return orderQty;
	}

	public void setOrderQty(BigDecimal orderQty) {
		this.orderQty = orderQty;
	}

	public BigDecimal getReceivedQty() {
		return receivedQty;
	}

	public void setReceivedQty(BigDecimal receivedQty) {
		this.receivedQty = receivedQty;
	}

	public BigDecimal getQty() {
		return qty;
	}

	public void setQty(BigDecimal qty) {
		this.qty = qty;
	}
	
	
}
